package com.maixun.lib_business_mine.first

import android.os.Bundle
import androidx.fragment.app.Fragment
import com.alibaba.android.arouter.launcher.ARouter
import com.maixun.lib_base.ui.activity.BaseActivityImpl
import com.maixun.lib_business_mine.R
import com.maixun.lib_comment.ARouterConstance

/**
 * @author：Lmoumou
 * @date：2020/10/16
 */
class MineModuleActivity:BaseActivityImpl() {
    override fun getLayoutId(): Int = R.layout.mine_activity_module

    override fun initView(savedInstanceState: Bundle?) {
        val fragment = ARouter.getInstance().build(ARouterConstance.MINE.URL_MINE_MAIN)
            .navigation() as Fragment
        supportFragmentManager
            .beginTransaction()
            .replace(R.id.flContent, fragment)
            .addToBackStack(null)
            .commit()
    }
}